﻿// <copyright file="Multimedia.cs" company="Microsoft Corporation">
// Copyright (c) 2008 All Right Reserved
// </copyright>
// <author>Michael S. Scherotter</author>
// <email>mischero@microsoft.com</email>
// <date>2009-03-19</date>
// <summary>New York Times Multimedia element</summary>

namespace NYTimes.Data
{
    using System;

    /// <summary>
    /// New York Times Multimedia element
    /// </summary>
    public class Multimedia
    {
        /// <summary>
        /// Gets or sets the headline
        /// </summary>
        public string Headline { get; set; }

        /// <summary>
        /// Gets or sets the height in pixels
        /// </summary>
        public int Height { get; set; }

        /// <summary>
        /// Gets or sets the summary
        /// </summary>
        public string Summary { get; set; }

        /// <summary>
        /// Gets or sets the media type
        /// </summary>
        public string MediaType { get; set; }

        /// <summary>
        /// Gets or sets the Url
        /// </summary>
        public Uri Url { get; set; }

        /// <summary>
        /// Gets or sets the width in pixels
        /// </summary>
        public int Width { get; set; }

        /// <summary>
        /// Gets the properties and values listed
        /// </summary>
        /// <returns>a string with the property names and values</returns>
        public override string ToString()
        {
            return Synergist.Utility.GetProperties(this);
        }
    }
}
